package com.xt.bean;

import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 数据库（课程表）
 * Created by XT on 2018/5/3.
 */
@Document(collection="tb_course")
public class Course extends BaseBean{

    private String name;//课程名
    private String departmentId;//院系id 冗余字段，空间换时间
    private String departmentName;//院系名
    private String specialtyId;//专业id
    private String specialtyName;//专业名

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getSpecialtyId() {
        return specialtyId;
    }

    public void setSpecialtyId(String specialtyId) {
        this.specialtyId = specialtyId;
    }

    public String getSpecialtyName() {
        return specialtyName;
    }

    public void setSpecialtyName(String specialtyName) {
        this.specialtyName = specialtyName;
    }
}
